<?php
	/** sous fonctionnalité d'affichage des membres
	 * @author Sebastian Mosser
	 */

class sfDisplay extends aSubFeature {


	public function __construct() {
		  $this->_acl = new AccessControlList();
      $this->_acl->setGranted(1); $this->_acl->setGranted(2); 
      $this->_acl->setGranted(3); $this->_acl->setGranted(4); 
      $this->_acl->setGranted(5); $this->_acl->setGranted(6);
      $this->_acl->setGranted(7);
		}


	protected function run() {
			
		$memberId = PropRetriever::getProp($_GET,"id");
		$aMember = Member::read($memberId);
		$page = "<h1> Affichage d'un adhérent </h1>";
		$page .= $aMember->displayLong();
		return $page;
	}

}


?>